
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action=""
	onsubmit="return navTabSearch(this)">
	<div class="pageHeader">
		<div class="searchBar">
			<ul class="searchContent">

				<li><label>功能组编号：</label> <input
					type="text" name="functionGroupCode"
					value="${condition.functionGroupCode!''}"  class=''/></li>

				<li><label>描述：</label> <input
					type="text" name="text" value="${condition.text!''}" /></li>

				<li class="query">
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit" name="btnQuery">查询</button>
						</div>
					</div>
				</li>
			</ul>

		</div>
	</div>
</form>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" target="dialog" mask="true" width="645"
				height="385"
				href="${rc.getContextPath()}/manage/management/functionGroup/toAddFunctionGroup?navTabId=${navTabId!''}"><span>新增</span></a></li>
			<li><a class="edit" target="dialog" mask="true" width="645"
				height="460"
				href="${rc.getContextPath()}/manage/management/functionGroup/toEditFunctionGroup?functionGroupCode={functionGroup_id}&navTabId=${navTabId!''}"><span>修改</span></a>
			</li>
			<li><a class="icon" target="dialog" mask="true" width="645"
				height="460"
				href="${rc.getContextPath()}/manage/management/functionGroup/viewFunctionGroup?functionGroupCode={functionGroup_id}&navTabId=${navTabId!''}"><span>详情</span></a>
			</li>
			
			<li><a class="delete" target="selectedTodo" posttype="string" rel="ids" href="${rc.getContextPath()}/manage/management/functionGroup/deleteFunctionGroupBatchByPK?id={functionGroup_id}&navTabId=${navTabId!''}"
				callback="batchjobAjaxDone" title="确认要删除选中的功能组吗？"><span>删除</span></a>
			</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="130">
		<thead>
			<tr>
				<th width="10"><input type="checkbox" group="ids"
					class="checkboxCtrl"></th>
				<th width="20">序号</th>
				
				<th width="80" orderField="functionGroupCode"<#if
					(page.orderField?? && page.orderField =="functionGroupCode")>class="${page.orderDirection!''}"</#if>>功能组编号</th>
				<th width="100" orderField="text"<#if (page.orderField?? &&
					page.orderField =="text")>class="${page.orderDirection!''}"</#if>>描述</th>
				<th width="20" orderField="sequenceNum"<#if (page.orderField??
					&& page.orderField =="sequenceNum")>class="${page.orderDirection!''}"</#if>>顺序号</th>
				<th width="30" orderField="copyFlag"<#if (page.orderField?? &&
					page.orderField =="copyFlag")>class="${page.orderDirection!''}"</#if>>复制标志</th>
				<th width="30" orderField="requiredFlag"<#if
					(page.orderField?? && page.orderField =="requiredFlag")>class="${page.orderDirection!''}"</#if>>必选标志</th>
				<th width="100" orderField="tableNameList"<#if
					(page.orderField?? && page.orderField =="tableNameList")>class="${page.orderDirection!''}"</#if>>涉及的表</th>
			</tr>
		</thead>
		<tbody>
			<#if page??><#if (page.data?size>0)> <#list page.data as
			functionGroup>
			<tr target="functionGroup_id" rel="${functionGroup.functionGroupCode!''}">
				<td><input name="ids" value="${functionGroup.functionGroupCode!''}"
					type="checkbox"></td>
				<td>${page.startRow + functionGroup_index}</td>
				<td>${functionGroup.functionGroupCode!}</td>
				<td>${functionGroup.text!}</td>
				<td>${functionGroup.sequenceNum!}</td>
				<td><input type="checkbox" disabled="disabled" <#if functionGroup.copyFlag == 1>
                            checked="true"</#if> /></td>
				<td><input type="checkbox" disabled="disabled" <#if functionGroup.requiredFlag == 1>
                            checked="true"</#if> /></td>
				<td>${functionGroup.tableNameList!}</td>
			</tr>
			</#list> <#else>
			<tr target="functionGroup_id">
				<td colspan="20" class="noData">======列表无数据=====</font>
				</td>
			</tr>
			</#if> <#else>
			<tr target="functionGroup_id">
				<td colspan="20" class="noData">======列表无数据=====</font>
				</td>
			</tr>
			</#if>
		</tbody>
	</table>
	<#include "admin/common/panelBar.html">
</div>
<script type="text/javascript">
(function($){
	var page = DWZ.context();
})(jQuery);
</script>
